﻿@model ADShop.Models.Brand

@{
    ViewBag.Title = "Create";
}
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Product</legend>
       
        

        <div class="editor-label">
            @Html.LabelFor(model => model.IDBrand)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IDBrand)
            @Html.ValidationMessageFor(model => model.IDBrand)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BrandName)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.BrandName)
            @Html.ValidationMessageFor(model => model.BrandName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BrandDetails)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BrandDetails)
            @Html.ValidationMessageFor(model => model.BrandDetails)
        </div>



        <div class="editor-label">
            @Html.LabelFor(model => model.Active)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Active)
            @Html.ValidationMessageFor(model => model.Active)
        </div>

        <p>
            <input type="submit" value="Create" class="btn btn-green" />
        </p>
    </fieldset>
}

<div>
    <p>
        @Html.ActionLink("Quay Lại Danh Sách Nhà Sản Xuất", "Index", null, new { @class = "label label-default" })
    </p>
</div>
